import React, { Component } from 'react'
import { Icon, Button, Table, Popconfirm, Switch, Form, Input } from 'antd'
import { IndexLink, Link } from 'react-router'
import EditableCell from './EditableCell'
import AddTermInput from './AddTermInput'



const FormItem = Form.Item;


export class Terms extends Component {
  constructor(props) {
    super(props);
  }


  render() {
    let {children}=this.props;
    // console.log(this.props);

    return (
      <div id="terms">
          <div className="message wrap">
          <h2><Icon type="exclamation-circle-o" />为了获取良好的体验，请在宽屏下操作</h2>
          </div>
          { React.cloneElement(children, {...this.props})}
      </div>

    )
  }
}


export default Terms
